<!-- HTML header for doxygen 1.8.5-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<title>GenAVB/TSN: Socket</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script src="http://www.freescale.com/files/abstract/misc/COLLATERALTEMPLATE_infocenter.js" type="text/javascript" xml:space="preserve"><!-- --></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="html_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="nxp_logo.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">GenAVB/TSN
   </div>
  </td>
   <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('group__socket.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Socket<div class="ingroups"><a class="el" href="group__library.html">Library API</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:structnet__address"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__socket.html#structnet__address">net_address</a></td></tr>
<tr class="separator:structnet__address"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:unionnet__address_8u"><td class="memItemLeft" align="right" valign="top">union &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__socket.html#unionnet__address_8u">net_address.u</a></td></tr>
<tr class="separator:unionnet__address_8u"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structnet__address_8u_8ptp"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__socket.html#structnet__address_8u_8ptp">net_address.u.ptp</a></td></tr>
<tr class="separator:structnet__address_8u_8ptp"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structnet__address_8u_8ipv4"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__socket.html#structnet__address_8u_8ipv4">net_address.u.ipv4</a></td></tr>
<tr class="separator:structnet__address_8u_8ipv4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:unionnet__address_8u_8ipv4_8u"><td class="memItemLeft" align="right" valign="top">union &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__socket.html#unionnet__address_8u_8ipv4_8u">net_address.u.ipv4.u</a></td></tr>
<tr class="separator:unionnet__address_8u_8ipv4_8u"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structnet__address_8u_8ipv4_8u_8rtp"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__socket.html#structnet__address_8u_8ipv4_8u_8rtp">net_address.u.ipv4.u.rtp</a></td></tr>
<tr class="separator:structnet__address_8u_8ipv4_8u_8rtp"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structnet__address_8u_8ipv4_8u_8rtcp"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__socket.html#structnet__address_8u_8ipv4_8u_8rtcp">net_address.u.ipv4.u.rtcp</a></td></tr>
<tr class="separator:structnet__address_8u_8ipv4_8u_8rtcp"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structnet__address_8u_8ipv6"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__socket.html#structnet__address_8u_8ipv6">net_address.u.ipv6</a></td></tr>
<tr class="separator:structnet__address_8u_8ipv6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:unionnet__address_8u_8ipv6_8u"><td class="memItemLeft" align="right" valign="top">union &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__socket.html#unionnet__address_8u_8ipv6_8u">net_address.u.ipv6.u</a></td></tr>
<tr class="separator:unionnet__address_8u_8ipv6_8u"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structnet__address_8u_8ipv6_8u_8rtp"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__socket.html#structnet__address_8u_8ipv6_8u_8rtp">net_address.u.ipv6.u.rtp</a></td></tr>
<tr class="separator:structnet__address_8u_8ipv6_8u_8rtp"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structnet__address_8u_8ipv6_8u_8rtcp"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__socket.html#structnet__address_8u_8ipv6_8u_8rtcp">net_address.u.ipv6.u.rtcp</a></td></tr>
<tr class="separator:structnet__address_8u_8ipv6_8u_8rtcp"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structnet__address_8u_8l2"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__socket.html#structnet__address_8u_8l2">net_address.u.l2</a></td></tr>
<tr class="separator:structnet__address_8u_8l2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structnet__address_1_1avtp__address_8u_8avtp"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__socket.html#structnet__address_1_1avtp__address_8u_8avtp">avtp_address.u.avtp</a></td></tr>
<tr class="separator:structnet__address_1_1avtp__address_8u_8avtp"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structgenavb__socket__rx__params"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__socket.html#structgenavb__socket__rx__params">genavb_socket_rx_params</a></td></tr>
<tr class="separator:structgenavb__socket__rx__params"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structgenavb__socket__tx__params"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__socket.html#structgenavb__socket__tx__params">genavb_socket_tx_params</a></td></tr>
<tr class="separator:structgenavb__socket__tx__params"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ga54a99f7b450267929505a25dafd7e29f"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__socket.html#ga54a99f7b450267929505a25dafd7e29f">NET_PTYPE</a> { <br />
&#160;&#160;<b>PTYPE_NONE</b> = 0, 
<br />
&#160;&#160;<b>PTYPE_MRP</b>, 
<br />
&#160;&#160;<b>PTYPE_PTP</b>, 
<br />
&#160;&#160;<b>PTYPE_AVTP</b>, 
<br />
&#160;&#160;<b>PTYPE_IPV4</b>, 
<br />
&#160;&#160;<b>PTYPE_IPV6</b>, 
<br />
&#160;&#160;<a class="el" href="group__socket.html#gga54a99f7b450267929505a25dafd7e29fa617ea496cc731e1aa57b6b13b69dbd82">PTYPE_OTHER</a>, 
<br />
&#160;&#160;<a class="el" href="group__socket.html#gga54a99f7b450267929505a25dafd7e29fa037a73b1ddbdd1bb45d3271adb37537a">PTYPE_L2</a>, 
<br />
&#160;&#160;<b>PTYPE_MAX</b>
<br />
 }</td></tr>
<tr class="separator:ga54a99f7b450267929505a25dafd7e29f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab5adeaf4eacc2cc7e7f649cf6456892b"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__socket.html#gab5adeaf4eacc2cc7e7f649cf6456892b">genavb_sock_f_t</a> { <br />
&#160;&#160;<a class="el" href="group__socket.html#ggab5adeaf4eacc2cc7e7f649cf6456892ba9b5002d8fc384b98c87fa827be8bbbf5">GENAVB_SOCKF_NONBLOCK</a> = 0x01, 
<br />
&#160;&#160;<a class="el" href="group__socket.html#ggab5adeaf4eacc2cc7e7f649cf6456892ba10dad4227260d40c55fbbffee2f249e7">GENAVB_SOCKF_ZEROCOPY</a> = 0x02, 
<br />
&#160;&#160;<a class="el" href="group__socket.html#ggab5adeaf4eacc2cc7e7f649cf6456892ba8c100f50a99899d6b1ecc9dd76179ff7">GENAVB_SOCKF_RAW</a> = 0x04
<br />
 }</td></tr>
<tr class="separator:gab5adeaf4eacc2cc7e7f649cf6456892b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga6e528bea165f730f74efe126b7f6036e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__socket.html#ga6e528bea165f730f74efe126b7f6036e">genavb_socket_rx_fd</a> (struct <a class="el" href="group__socket.html#ga9a53948cb83c2f8836022cb158ffa64c">genavb_socket_rx</a> *sock)</td></tr>
<tr class="separator:ga6e528bea165f730f74efe126b7f6036e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga925100e75d1b9f4a65463156be02388d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__socket.html#ga925100e75d1b9f4a65463156be02388d">genavb_socket_tx_fd</a> (struct <a class="el" href="group__socket.html#gad80ab211fb3f2a0c807926368d41d63b">genavb_socket_tx</a> *sock)</td></tr>
<tr class="separator:ga925100e75d1b9f4a65463156be02388d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga993d76b4a4ce46cb8a9f8d4846b79440"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__socket.html#ga993d76b4a4ce46cb8a9f8d4846b79440">genavb_socket_rx_open</a> (struct <a class="el" href="group__socket.html#ga9a53948cb83c2f8836022cb158ffa64c">genavb_socket_rx</a> **sock, <a class="el" href="group__socket.html#gab5adeaf4eacc2cc7e7f649cf6456892b">genavb_sock_f_t</a> flags, struct <a class="el" href="group__socket.html#structgenavb__socket__rx__params">genavb_socket_rx_params</a> *params)</td></tr>
<tr class="separator:ga993d76b4a4ce46cb8a9f8d4846b79440"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac3d1a2a1cbc3198f48c011d98da2e696"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__socket.html#gac3d1a2a1cbc3198f48c011d98da2e696">genavb_socket_tx_open</a> (struct <a class="el" href="group__socket.html#gad80ab211fb3f2a0c807926368d41d63b">genavb_socket_tx</a> **sock, <a class="el" href="group__socket.html#gab5adeaf4eacc2cc7e7f649cf6456892b">genavb_sock_f_t</a> flags, struct <a class="el" href="group__socket.html#structgenavb__socket__tx__params">genavb_socket_tx_params</a> *params)</td></tr>
<tr class="separator:gac3d1a2a1cbc3198f48c011d98da2e696"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad80ab211fb3f2a0c807926368d41d63b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__socket.html#gad80ab211fb3f2a0c807926368d41d63b">genavb_socket_tx</a> (struct genavb_socket_tx *sock, void *buf, unsigned int len)</td></tr>
<tr class="separator:gad80ab211fb3f2a0c807926368d41d63b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9a53948cb83c2f8836022cb158ffa64c"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__socket.html#ga9a53948cb83c2f8836022cb158ffa64c">genavb_socket_rx</a> (struct genavb_socket_rx *sock, void *buf, unsigned int len, uint64_t *ts)</td></tr>
<tr class="separator:ga9a53948cb83c2f8836022cb158ffa64c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0c98ea9974edededab7497f47f31c348"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__socket.html#ga0c98ea9974edededab7497f47f31c348">genavb_socket_rx_close</a> (struct <a class="el" href="group__socket.html#ga9a53948cb83c2f8836022cb158ffa64c">genavb_socket_rx</a> *sock)</td></tr>
<tr class="separator:ga0c98ea9974edededab7497f47f31c348"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7397b58d8aa3c521d00513c02ecac215"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__socket.html#ga7397b58d8aa3c521d00513c02ecac215">genavb_socket_tx_close</a> (struct <a class="el" href="group__socket.html#gad80ab211fb3f2a0c807926368d41d63b">genavb_socket_tx</a> *sock)</td></tr>
<tr class="separator:ga7397b58d8aa3c521d00513c02ecac215"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4305e69caae66fdf0fbed197da7e3e9c"><td class="memItemLeft" align="right" valign="top"><a id="ga4305e69caae66fdf0fbed197da7e3e9c"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>VLAN_VID_MIN</b>&#160;&#160;&#160;0</td></tr>
<tr class="separator:ga4305e69caae66fdf0fbed197da7e3e9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab008f5512c27a9bd6d2fe45f616489d8"><td class="memItemLeft" align="right" valign="top"><a id="gab008f5512c27a9bd6d2fe45f616489d8"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>VLAN_VID_MAX</b>&#160;&#160;&#160;4094</td></tr>
<tr class="separator:gab008f5512c27a9bd6d2fe45f616489d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6874980f64ff68cadfbb5abcd499b0c6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__socket.html#ga6874980f64ff68cadfbb5abcd499b0c6">VLAN_VID_DEFAULT</a>&#160;&#160;&#160;0xfffe</td></tr>
<tr class="separator:ga6874980f64ff68cadfbb5abcd499b0c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga74cbe20746c49877523d1e9f241d13cc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__socket.html#ga74cbe20746c49877523d1e9f241d13cc">VLAN_VID_NONE</a>&#160;&#160;&#160;0xffff</td></tr>
<tr class="separator:ga74cbe20746c49877523d1e9f241d13cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/><h2 class="groupheader">Data Structure Documentation</h2>
<a name="structnet__address" id="structnet__address"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structnet__address">&#9670;&nbsp;</a></span>net_address</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct net_address</td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="textblock"><p>Network address. </p>
<p>The protocol type determines the format of the network address </p>
</div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="a12fd7a3b7be8986404e7ed9f26520ae9"></a>avb_u8</td>
<td class="fieldname">
ptype</td>
<td class="fielddoc">
protocol type </td></tr>
<tr><td class="fieldtype">
<a id="ad48e660c03cf1f4eb7d8838960dac91e"></a>avb_u16</td>
<td class="fieldname">
port</td>
<td class="fielddoc">
port </td></tr>
<tr><td class="fieldtype">
<a id="a297496ac20d1eb7a6a59c9ab68be3584"></a>avb_u16</td>
<td class="fieldname">
vlan_id</td>
<td class="fielddoc">
vlan id (network order), one of [VLAN_VID_MIN, VLAN_VID_MAX], VLAN_VID_NONE or VLAND_ID_DEFAULT </td></tr>
<tr><td class="fieldtype">
<a id="acd9e23db3f7f377f72e97554a358a9e7"></a>avb_u8</td>
<td class="fieldname">
priority</td>
<td class="fielddoc">
traffic priority </td></tr>
<tr><td class="fieldtype">
<a id="ae626117b1c6419ab383e0da3320cc5ef"></a>union <a class="el" href="group__socket.html#unionnet__address_8u">net_address</a></td>
<td class="fieldname">
u</td>
<td class="fielddoc">
</td></tr>
</table>

</div>
</div>
<a name="unionnet__address_8u" id="unionnet__address_8u"></a>
<h2 class="memtitle"><span class="permalink"><a href="#unionnet__address_8u">&#9670;&nbsp;</a></span>net_address.u</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">union net_address.u</td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="textblock"></div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="ab7f9406e198ff6d04aa24f68ed80a132"></a><a class="el" href="group__socket.html#structnet__address_1_1avtp__address_8u_8avtp">u</a></td>
<td class="fieldname">
avtp</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="abe19d835ae8962460c01703fd05ad9ad"></a><a class="el" href="group__socket.html#structnet__address_8u_8ptp">u</a></td>
<td class="fieldname">
ptp</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a0485728ba5ed6951c7e858af6c1af7c3"></a><a class="el" href="group__socket.html#structnet__address_8u_8ipv4">u</a></td>
<td class="fieldname">
ipv4</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="acc314cbc6ae71c0724390eb450bb969d"></a><a class="el" href="group__socket.html#structnet__address_8u_8ipv6">u</a></td>
<td class="fieldname">
ipv6</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="abec25675775e9e0a0d783a5018b463e3"></a><a class="el" href="group__socket.html#structnet__address_8u_8l2">u</a></td>
<td class="fieldname">
l2</td>
<td class="fielddoc">
</td></tr>
</table>

</div>
</div>
<a name="structnet__address_8u_8ptp" id="structnet__address_8u_8ptp"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structnet__address_8u_8ptp">&#9670;&nbsp;</a></span>net_address.u.ptp</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct net_address.u.ptp</td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="textblock"></div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="a2af72f100c356273d46284f6fd1dfc08"></a>avb_u8</td>
<td class="fieldname">
version</td>
<td class="fielddoc">
</td></tr>
</table>

</div>
</div>
<a name="structnet__address_8u_8ipv4" id="structnet__address_8u_8ipv4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structnet__address_8u_8ipv4">&#9670;&nbsp;</a></span>net_address.u.ipv4</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct net_address.u.ipv4</td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="textblock"></div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="a349c85aae1d71151c001702f17a2b5f0"></a>avb_u8</td>
<td class="fieldname">
proto</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a2c80f014204a9f5f63f4cd28bc0b6a93"></a>avb_u32</td>
<td class="fieldname">
saddr</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a368f734539fba5966cd1c34b4afc8919"></a>avb_u32</td>
<td class="fieldname">
daddr</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a3823552b7a2b839259a831e3b7b349a3"></a>avb_u16</td>
<td class="fieldname">
sport</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="afc2e3570ae37b85374628155fefc806c"></a>avb_u16</td>
<td class="fieldname">
dport</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a35adb05bd6faeb0682c4504ad41695c4"></a>int</td>
<td class="fieldname">
l5_proto</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a7b774effe4a349c6dd82ad4f4f21d34c"></a><a class="el" href="group__socket.html#unionnet__address_8u_8ipv4_8u">ipv4</a></td>
<td class="fieldname">
u</td>
<td class="fielddoc">
</td></tr>
</table>

</div>
</div>
<a name="unionnet__address_8u_8ipv4_8u" id="unionnet__address_8u_8ipv4_8u"></a>
<h2 class="memtitle"><span class="permalink"><a href="#unionnet__address_8u_8ipv4_8u">&#9670;&nbsp;</a></span>net_address.u.ipv4.u</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">union net_address.u.ipv4.u</td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="textblock"></div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="ac766e112de79c244fdaed0ed34ca5e12"></a><a class="el" href="group__socket.html#structnet__address_8u_8ipv4_8u_8rtp">u</a></td>
<td class="fieldname">
rtp</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a975bfd49137cb34ef651cdb98c84995d"></a><a class="el" href="group__socket.html#structnet__address_8u_8ipv4_8u_8rtcp">u</a></td>
<td class="fieldname">
rtcp</td>
<td class="fielddoc">
</td></tr>
</table>

</div>
</div>
<a name="structnet__address_8u_8ipv4_8u_8rtp" id="structnet__address_8u_8ipv4_8u_8rtp"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structnet__address_8u_8ipv4_8u_8rtp">&#9670;&nbsp;</a></span>net_address.u.ipv4.u.rtp</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct net_address.u.ipv4.u.rtp</td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="textblock"></div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="ab03cd0f0730f6e0e21e215a5e988eded"></a>avb_u8</td>
<td class="fieldname">
sr_class</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a166aef4d085109e4483f03666db05668"></a>avb_u8</td>
<td class="fieldname">
stream_id[8]</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="afc9fdf084e290f26a270390dc49061a2"></a>avb_u8</td>
<td class="fieldname">
pt</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a8ffb72be413ff21587b04f86a25926a0"></a>avb_u32</td>
<td class="fieldname">
ssrc</td>
<td class="fielddoc">
</td></tr>
</table>

</div>
</div>
<a name="structnet__address_8u_8ipv4_8u_8rtcp" id="structnet__address_8u_8ipv4_8u_8rtcp"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structnet__address_8u_8ipv4_8u_8rtcp">&#9670;&nbsp;</a></span>net_address.u.ipv4.u.rtcp</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct net_address.u.ipv4.u.rtcp</td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="textblock"></div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="afc9fdf084e290f26a270390dc49061a2"></a>avb_u8</td>
<td class="fieldname">
pt</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a8ffb72be413ff21587b04f86a25926a0"></a>avb_u32</td>
<td class="fieldname">
ssrc</td>
<td class="fielddoc">
</td></tr>
</table>

</div>
</div>
<a name="structnet__address_8u_8ipv6" id="structnet__address_8u_8ipv6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structnet__address_8u_8ipv6">&#9670;&nbsp;</a></span>net_address.u.ipv6</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct net_address.u.ipv6</td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="textblock"></div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="a349c85aae1d71151c001702f17a2b5f0"></a>avb_u8</td>
<td class="fieldname">
proto</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a7a37f804a0fd43e6e2933b50f36d7950"></a>avb_u32</td>
<td class="fieldname">
saddr[4]</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="aaf8f6f1044ecf987eb5880905293a968"></a>avb_u32</td>
<td class="fieldname">
daddr[4]</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a3823552b7a2b839259a831e3b7b349a3"></a>avb_u16</td>
<td class="fieldname">
sport</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="afc2e3570ae37b85374628155fefc806c"></a>avb_u16</td>
<td class="fieldname">
dport</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a35adb05bd6faeb0682c4504ad41695c4"></a>int</td>
<td class="fieldname">
l5_proto</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a7b774effe4a349c6dd82ad4f4f21d34c"></a><a class="el" href="group__socket.html#unionnet__address_8u_8ipv6_8u">ipv6</a></td>
<td class="fieldname">
u</td>
<td class="fielddoc">
</td></tr>
</table>

</div>
</div>
<a name="unionnet__address_8u_8ipv6_8u" id="unionnet__address_8u_8ipv6_8u"></a>
<h2 class="memtitle"><span class="permalink"><a href="#unionnet__address_8u_8ipv6_8u">&#9670;&nbsp;</a></span>net_address.u.ipv6.u</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">union net_address.u.ipv6.u</td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="textblock"></div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="ac766e112de79c244fdaed0ed34ca5e12"></a><a class="el" href="group__socket.html#structnet__address_8u_8ipv6_8u_8rtp">u</a></td>
<td class="fieldname">
rtp</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a975bfd49137cb34ef651cdb98c84995d"></a><a class="el" href="group__socket.html#structnet__address_8u_8ipv6_8u_8rtcp">u</a></td>
<td class="fieldname">
rtcp</td>
<td class="fielddoc">
</td></tr>
</table>

</div>
</div>
<a name="structnet__address_8u_8ipv6_8u_8rtp" id="structnet__address_8u_8ipv6_8u_8rtp"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structnet__address_8u_8ipv6_8u_8rtp">&#9670;&nbsp;</a></span>net_address.u.ipv6.u.rtp</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct net_address.u.ipv6.u.rtp</td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="textblock"></div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="ab03cd0f0730f6e0e21e215a5e988eded"></a>avb_u8</td>
<td class="fieldname">
sr_class</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a166aef4d085109e4483f03666db05668"></a>avb_u8</td>
<td class="fieldname">
stream_id[8]</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="afc9fdf084e290f26a270390dc49061a2"></a>avb_u8</td>
<td class="fieldname">
pt</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a8ffb72be413ff21587b04f86a25926a0"></a>avb_u32</td>
<td class="fieldname">
ssrc</td>
<td class="fielddoc">
</td></tr>
</table>

</div>
</div>
<a name="structnet__address_8u_8ipv6_8u_8rtcp" id="structnet__address_8u_8ipv6_8u_8rtcp"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structnet__address_8u_8ipv6_8u_8rtcp">&#9670;&nbsp;</a></span>net_address.u.ipv6.u.rtcp</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct net_address.u.ipv6.u.rtcp</td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="textblock"></div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="afc9fdf084e290f26a270390dc49061a2"></a>avb_u8</td>
<td class="fieldname">
pt</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a8ffb72be413ff21587b04f86a25926a0"></a>avb_u32</td>
<td class="fieldname">
ssrc</td>
<td class="fielddoc">
</td></tr>
</table>

</div>
</div>
<a name="structnet__address_8u_8l2" id="structnet__address_8u_8l2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structnet__address_8u_8l2">&#9670;&nbsp;</a></span>net_address.u.l2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct net_address.u.l2</td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="textblock"></div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="a81788ba0d7d02d81c063dbca621ba11b"></a>avb_u16</td>
<td class="fieldname">
protocol</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a80d68faf6cba0d0786852371c84c77a4"></a>avb_u8</td>
<td class="fieldname">
dst_mac[6]</td>
<td class="fielddoc">
</td></tr>
</table>

</div>
</div>
<a name="structnet__address_1_1avtp__address_8u_8avtp" id="structnet__address_1_1avtp__address_8u_8avtp"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structnet__address_1_1avtp__address_8u_8avtp">&#9670;&nbsp;</a></span>net_address::avtp_address.u.avtp</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct net_address::avtp_address.u.avtp</td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="textblock"></div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="a2e282b0d23d6ec55185caeb87b41c0e0"></a>int</td>
<td class="fieldname">
subtype</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="ab03cd0f0730f6e0e21e215a5e988eded"></a>avb_u8</td>
<td class="fieldname">
sr_class</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a166aef4d085109e4483f03666db05668"></a>avb_u8</td>
<td class="fieldname">
stream_id[8]</td>
<td class="fielddoc">
</td></tr>
</table>

</div>
</div>
<a name="structgenavb__socket__rx__params" id="structgenavb__socket__rx__params"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structgenavb__socket__rx__params">&#9670;&nbsp;</a></span>genavb_socket_rx_params</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct genavb_socket_rx_params</td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="textblock"><p>Socket rx parameters </p>
</div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="aaf19e5b729aef38133e7bf03623bb4ab"></a>struct <a class="el" href="group__socket.html#structnet__address">net_address</a></td>
<td class="fieldname">
addr</td>
<td class="fielddoc">
Socket address. </td></tr>
</table>

</div>
</div>
<a name="structgenavb__socket__tx__params" id="structgenavb__socket__tx__params"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structgenavb__socket__tx__params">&#9670;&nbsp;</a></span>genavb_socket_tx_params</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct genavb_socket_tx_params</td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="textblock"><p>Socket rx parameters </p>
</div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="adae8d698e6bd65b8ea66e0ae25311b72"></a>struct <a class="el" href="group__socket.html#structnet__address">net_address</a></td>
<td class="fieldname">
addr</td>
<td class="fielddoc">
Socket address. </td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="ga6874980f64ff68cadfbb5abcd499b0c6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6874980f64ff68cadfbb5abcd499b0c6">&#9670;&nbsp;</a></span>VLAN_VID_DEFAULT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define VLAN_VID_DEFAULT&#160;&#160;&#160;0xfffe</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>non standard value, used to indicate default vlan vid </p>

</div>
</div>
<a id="ga74cbe20746c49877523d1e9f241d13cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga74cbe20746c49877523d1e9f241d13cc">&#9670;&nbsp;</a></span>VLAN_VID_NONE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define VLAN_VID_NONE&#160;&#160;&#160;0xffff</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>non standard value, used to indicate no vlan tag </p>

</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="ga54a99f7b450267929505a25dafd7e29f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga54a99f7b450267929505a25dafd7e29f">&#9670;&nbsp;</a></span>NET_PTYPE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__socket.html#ga54a99f7b450267929505a25dafd7e29f">NET_PTYPE</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Protocol types </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga54a99f7b450267929505a25dafd7e29fa617ea496cc731e1aa57b6b13b69dbd82"></a>PTYPE_OTHER&#160;</td><td class="fielddoc"><p>Non handled by genAVB stack. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga54a99f7b450267929505a25dafd7e29fa037a73b1ddbdd1bb45d3271adb37537a"></a>PTYPE_L2&#160;</td><td class="fielddoc"><p>Layer 2. </p>
</td></tr>
</table>

</div>
</div>
<a id="gab5adeaf4eacc2cc7e7f649cf6456892b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab5adeaf4eacc2cc7e7f649cf6456892b">&#9670;&nbsp;</a></span>genavb_sock_f_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__socket.html#gab5adeaf4eacc2cc7e7f649cf6456892b">genavb_sock_f_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Socket rx parameters </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ggab5adeaf4eacc2cc7e7f649cf6456892ba9b5002d8fc384b98c87fa827be8bbbf5"></a>GENAVB_SOCKF_NONBLOCK&#160;</td><td class="fielddoc"><p>Non-blocking mode (only applies to receive socket) </p>
</td></tr>
<tr><td class="fieldname"><a id="ggab5adeaf4eacc2cc7e7f649cf6456892ba10dad4227260d40c55fbbffee2f249e7"></a>GENAVB_SOCKF_ZEROCOPY&#160;</td><td class="fielddoc"><p>Zero-copy mode (not implemented) </p>
</td></tr>
<tr><td class="fieldname"><a id="ggab5adeaf4eacc2cc7e7f649cf6456892ba8c100f50a99899d6b1ecc9dd76179ff7"></a>GENAVB_SOCKF_RAW&#160;</td><td class="fielddoc"><p>Raw socket (only applies to transmit socket) </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga6e528bea165f730f74efe126b7f6036e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6e528bea165f730f74efe126b7f6036e">&#9670;&nbsp;</a></span>genavb_socket_rx_fd()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int genavb_socket_rx_fd </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="group__socket.html#ga9a53948cb83c2f8836022cb158ffa64c">genavb_socket_rx</a> *&#160;</td>
          <td class="paramname"><em>sock</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Retrieve the file descriptor associated with a given socket. </p>
<dl class="section return"><dt>Returns</dt><dd>GENAVB_SUCCESS or negative error code. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sock</td><td>Socket handler </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga925100e75d1b9f4a65463156be02388d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga925100e75d1b9f4a65463156be02388d">&#9670;&nbsp;</a></span>genavb_socket_tx_fd()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int genavb_socket_tx_fd </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="group__socket.html#gad80ab211fb3f2a0c807926368d41d63b">genavb_socket_tx</a> *&#160;</td>
          <td class="paramname"><em>sock</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Retrieve the file descriptor associated with a given socket. </p>
<dl class="section return"><dt>Returns</dt><dd>GENAVB_SUCCESS or negative error code. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sock</td><td>Socket handler </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga993d76b4a4ce46cb8a9f8d4846b79440"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga993d76b4a4ce46cb8a9f8d4846b79440">&#9670;&nbsp;</a></span>genavb_socket_rx_open()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int genavb_socket_rx_open </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="group__socket.html#ga9a53948cb83c2f8836022cb158ffa64c">genavb_socket_rx</a> **&#160;</td>
          <td class="paramname"><em>sock</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__socket.html#gab5adeaf4eacc2cc7e7f649cf6456892b">genavb_sock_f_t</a>&#160;</td>
          <td class="paramname"><em>flags</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="group__socket.html#structgenavb__socket__rx__params">genavb_socket_rx_params</a> *&#160;</td>
          <td class="paramname"><em>params</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Open rx socket. </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="group__generic.html#gga031a0b2111b623fef60d707141a995d5a652003ceb0485f27d4a45e7c29dffe7f" title="Success.">GENAVB_SUCCESS</a> or negative error code. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sock</td><td>Socket handle </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gac3d1a2a1cbc3198f48c011d98da2e696"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac3d1a2a1cbc3198f48c011d98da2e696">&#9670;&nbsp;</a></span>genavb_socket_tx_open()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int genavb_socket_tx_open </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="group__socket.html#gad80ab211fb3f2a0c807926368d41d63b">genavb_socket_tx</a> **&#160;</td>
          <td class="paramname"><em>sock</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__socket.html#gab5adeaf4eacc2cc7e7f649cf6456892b">genavb_sock_f_t</a>&#160;</td>
          <td class="paramname"><em>flags</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="group__socket.html#structgenavb__socket__tx__params">genavb_socket_tx_params</a> *&#160;</td>
          <td class="paramname"><em>params</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Open tx socket. </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="group__generic.html#gga031a0b2111b623fef60d707141a995d5a652003ceb0485f27d4a45e7c29dffe7f" title="Success.">GENAVB_SUCCESS</a> or negative error code. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sock</td><td>Socket handle </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gad80ab211fb3f2a0c807926368d41d63b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad80ab211fb3f2a0c807926368d41d63b">&#9670;&nbsp;</a></span>genavb_socket_tx()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int genavb_socket_tx </td>
          <td>(</td>
          <td class="paramtype">struct genavb_socket_tx *&#160;</td>
          <td class="paramname"><em>sock</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>len</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Socket transmit. </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="group__generic.html#gga031a0b2111b623fef60d707141a995d5a652003ceb0485f27d4a45e7c29dffe7f" title="Success.">GENAVB_SUCCESS</a> or negative error code. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sock</td><td>Socket handle </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga9a53948cb83c2f8836022cb158ffa64c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9a53948cb83c2f8836022cb158ffa64c">&#9670;&nbsp;</a></span>genavb_socket_rx()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int genavb_socket_rx </td>
          <td>(</td>
          <td class="paramtype">struct genavb_socket_rx *&#160;</td>
          <td class="paramname"><em>sock</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint64_t *&#160;</td>
          <td class="paramname"><em>ts</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Socket receive. </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="group__generic.html#gga031a0b2111b623fef60d707141a995d5a652003ceb0485f27d4a45e7c29dffe7f" title="Success.">GENAVB_SUCCESS</a> or negative error code. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sock</td><td>Socket handle </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga0c98ea9974edededab7497f47f31c348"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0c98ea9974edededab7497f47f31c348">&#9670;&nbsp;</a></span>genavb_socket_rx_close()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void genavb_socket_rx_close </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="group__socket.html#ga9a53948cb83c2f8836022cb158ffa64c">genavb_socket_rx</a> *&#160;</td>
          <td class="paramname"><em>sock</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Close rx socket. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sock</td><td>Socket handle </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga7397b58d8aa3c521d00513c02ecac215"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7397b58d8aa3c521d00513c02ecac215">&#9670;&nbsp;</a></span>genavb_socket_tx_close()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void genavb_socket_tx_close </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="group__socket.html#gad80ab211fb3f2a0c807926368d41d63b">genavb_socket_tx</a> *&#160;</td>
          <td class="paramname"><em>sock</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Close tx socket. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sock</td><td>Socket handle </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.5-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul class="foot">
    <li class="footer"> &copy; 2017-2020 NXP
    </li>
  </ul>
</div>
</body>
</html>
